package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实验成绩业务对象 pt_score
 *
 * @author ruoyi
 * @date 2022-03-26
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("实验成绩业务对象")
public class PtSysScoreBo extends BaseEntity {

    /**
     *
     */
    @ApiModelProperty(value = "", required = true)
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 实验id
     */
    @ApiModelProperty(value = "实验id", required = true)
    @NotNull(message = "实验id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long expId;

    /**
     * 学生学号
     */
    @ApiModelProperty(value = "学生学号", required = true)
    private String userName;

    /**
     * 学生姓名
     */
    @ApiModelProperty(value = "学生姓名", required = true)
    private String nickName;

    /**
     * 班级id
     */
    @ApiModelProperty(value = "班级id", required = true)
    private Long classId;

    /**
     * 教师id
     */
    @ApiModelProperty(value = "教师id", required = true)
    @NotNull(message = "教师id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long teacherId;

    /**
     * 学生id
     */
    @ApiModelProperty(value = "学生id", required = true)
    @NotNull(message = "学生id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;

    /**
     * 预习成绩
     */
    @ApiModelProperty(value = "预习成绩", required = true)
    @NotNull(message = "预习成绩不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double scorePreview;

    /**
     * 操作成绩
     */
    @ApiModelProperty(value = "操作成绩", required = true)
    @NotNull(message = "操作成绩不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double scoreOperate;

    /**
     * 纪律成绩
     */
    @ApiModelProperty(value = "纪律成绩", required = true)
    @NotNull(message = "纪律成绩不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double scoreDiscipline;

    /**
     * 实验报告成绩
     */
    @ApiModelProperty(value = "实验报告成绩", required = true)
    @NotNull(message = "实验报告成绩不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double scoreExp;

    /**
     * 最终成绩
     */
    @ApiModelProperty(value = "最终成绩", required = true)
    @NotNull(message = "最终成绩不能为空", groups = { AddGroup.class, EditGroup.class })
    private Double scoreFinal;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", required = true)
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 0正常 1停用
     */
    @ApiModelProperty(value = "0正常 1停用", required = true)
    @NotBlank(message = "0正常 1停用不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 观看视频集合
     */
    @ApiModelProperty(value = "观看视频集合", required = true)
    @NotBlank(message = "观看视频集合不能为空", groups = { AddGroup.class, EditGroup.class })
    private String videoList;


}
